package com.wz.project.stock.main.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wz.framework.aspectj.lang.annotation.Excel;
import com.wz.framework.web.domain.BaseEntity;

/**
 * 主库存对象 bas_stock_main
 * 
 * @author wz
 * @date 2022-12-05
 */
public class BasStockMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子库存Id */
    @Excel(name = "子库存Id")
    private String stockId;

    /** 主库存Id */
    @Excel(name = "主库存Id")
    private String stockMainId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String productId;

    /** 齐套数量 */
    @Excel(name = "齐套数量")
    private Long quantity;

    /** 已入库数量 */
    @Excel(name = "已入库数量")
    private Long inQuantity;

    /** 是否齐套 */
    @Excel(name = "是否齐套")
    private String uniform;

    /** 母件码 */
    @Excel(name = "母件码")
    private String barcode;

    /** 子件码 */
    @Excel(name = "子件码")
    private String barcodeDetail;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long outQuantity;

    /** 托盘码 */
    @Excel(name = "托盘码")
    private String trayCode;

    private String productName;
    private String warehouseId;

    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }

    public void setStockId(String stockId)
    {
        this.stockId = stockId;
    }

    public String getStockId()
    {
        return stockId;
    }
    public void setStockMainId(String stockMainId)
    {
        this.stockMainId = stockMainId;
    }

    public String getStockMainId()
    {
        return stockMainId;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setQuantity(Long quantity)
    {
        this.quantity = quantity;
    }

    public Long getQuantity()
    {
        return quantity;
    }
    public void setInQuantity(Long inQuantity)
    {
        this.inQuantity = inQuantity;
    }

    public Long getInQuantity()
    {
        return inQuantity;
    }
    public void setUniform(String uniform)
    {
        this.uniform = uniform;
    }

    public String getUniform()
    {
        return uniform;
    }
    public void setBarcode(String barcode)
    {
        this.barcode = barcode;
    }

    public String getBarcode()
    {
        return barcode;
    }
    public void setBarcodeDetail(String barcodeDetail)
    {
        this.barcodeDetail = barcodeDetail;
    }

    public String getBarcodeDetail()
    {
        return barcodeDetail;
    }
    public void setOutQuantity(Long outQuantity)
    {
        this.outQuantity = outQuantity;
    }

    public Long getOutQuantity()
    {
        return outQuantity;
    }
    public void setTrayCode(String trayCode)
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode()
    {
        return trayCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockId", getStockId())
            .append("stockMainId", getStockMainId())
            .append("productId", getProductId())
            .append("quantity", getQuantity())
            .append("inQuantity", getInQuantity())
            .append("uniform", getUniform())
            .append("barcode", getBarcode())
            .append("barcodeDetail", getBarcodeDetail())
            .append("outQuantity", getOutQuantity())
            .append("trayCode", getTrayCode())
            .toString();
    }
}
